package com.ykh.spring.pojo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-08-22
 * Time: 9:00
 */
public class Teacher {
    private Integer tid;
    private String teacherName;

    public Teacher() {
    }

    public Teacher(Integer tid, String teacherName) {
        this.tid = tid;
        this.teacherName = teacherName;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", teacherName='" + teacherName + '\'' +
                '}';
    }
}
